package com.calmcar.adas.apiserver.model;

/**
 * 前方目标对象
 */

public class FrontCarInfo {

    public AdasRect getCarRect() {
        return carRect;
    }

    public void setCarRect(AdasRect carRect) {
        this.carRect = carRect;
    }

    public double getCarDis() {
        return carDis;
    }

    public void setCarDis(double carDis) {
        this.carDis = carDis;
    }

    /**
     * 目标对象位置坐标
     */
    private AdasRect carRect ;
    /**
     * 相对距离
     */
    private double  carDis;

    public double getAbsDis() {
        return absDis;
    }

    public void setAbsDis(double absDis) {
        this.absDis = absDis;
    }

    /**
     * 绝对距离
     */
    private double  absDis;



    public int getFrontCarStateType() {
        return frontCarStateType;
    }

    public void setFrontCarStateType(int frontCarStateType) {
        this.frontCarStateType = frontCarStateType;
    }

    /**
     * 1:防碰撞一级预警  2：防碰撞二级预警  3:前车启动
     */
    private int frontCarStateType=-1;

}
